package com.example.lotterysystem.controller.result;

import lombok.Data;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
@Data
public class GetActivityDetailResult implements Serializable {
    //活动信息
    private Long activityId;
    private String activityName;
    private String description;
    private Boolean valid;
    //奖品信息
    private List<Prize> prizes;
    //人员信息
    private List<User> users;
    @Data
    public static class Prize{
        private Long prizeId;
        private String name;
        private String imageUrl;
        private BigDecimal price;
        private String description;
        //奖品等级
        private String prizeTierName;
        //奖品数量
        private Long prizeAmount;
        //奖品状态
        private Boolean valid;
    }
    @Data
    public static class User{
        private Long userId;
        private String userName;
        private Boolean valid;
    }
}
